package com.dongdong.service;

import com.dongdong.pojo.TbSpecification;
import com.dongdong.pojo.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> getSpecificationList(String specName);

    int SaveSpecification(TbSpecification tbSpecification, List<TbSpecificationOption> options);

    TbSpecification toUpdate(Long id);

    int updateSpecification(TbSpecification tbSpecification, List<TbSpecificationOption> list);

    int deleteBatch(Long[] ids);

    List<TbSpecification> getSpecifications();
}
